<?php

$this->breadcrumbs = array(
	$model->label(2) => array('admin'),
	Yii::t('app', 'Manage'),
);

$this->menu = array(
		//array('label'=>Yii::t('app', 'List') . ' ' . $model->label(2), 'url'=>array('index')),
		array('label'=>Yii::t('app', 'Create') . ' ' . $model->label(), 'url'=>array('create')),
	);


?>

<h1><?php echo Yii::t('app', 'Manage') . ' ' . GxHtml::encode($model->label(2)); ?></h1>

<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id' => 'aman-student-college-details-grid',
	'dataProvider' => $model->search(),
	'filter' => $model,
	'columns' => array(
		//'id',
		'college_name',
		'deemed_university',
		'principal_first_name',
		'principal_last_name',
		'gender',
		/*
		'phone_no1',
		'phone_no2',
		'police_station_name_and_address',
		array(
				'name'=>'student_details_id',
				'value'=>'GxHtml::valueEx($data->studentDetails)',
				'filter'=>GxHtml::listDataEx(AmanStudentDetails::model()->findAllAttributes(null, true)),
				),
		array(
				'name'=>'state_id',
				'value'=>'GxHtml::valueEx($data->state)',
				'filter'=>GxHtml::listDataEx(AmanState::model()->findAllAttributes(null, true)),
				),
		array(
				'name'=>'college_type_id',
				'value'=>'GxHtml::valueEx($data->collegeType)',
				'filter'=>GxHtml::listDataEx(AmanCollegeType::model()->findAllAttributes(null, true)),
				),
		array(
				'name'=>'affiliating_university_id',
				'value'=>'GxHtml::valueEx($data->affiliatingUniversity)',
				'filter'=>GxHtml::listDataEx(AmanAffiliatingUniversity::model()->findAllAttributes(null, true)),
				),
		*/
		array(
			'class' => 'CButtonColumn',
		),
	),
)); ?>